package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.AssginRoleDto;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SysUserRoleMapper {
    List<Long> selectRoleIdsByUserId(Long userId);

    void deleteAllByUserId(Long userId);

    void insertUserRole(AssginRoleDto assginRoleDto);
}
